module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    [
      // 按需引用配置
      // 'import',
      // {
      //   libraryName: 'ant-design-vue',
      //   libraryDirectory: 'es',
      //   style: true
      // },
      '@babel/plugin-syntax-dynamic-import'
    ],
    [
      'import',
      {
        libraryName: 'vxe-table',
        style: true
      }
    ],
    'lodash'
  ]
}
